package com.atxwq.shop.manager.serivce;

import com.atxwq.shop.model.dto.system.AssginMenuDto;

import java.util.Map;

public interface SysRoleMenuService {
    /**
     * 查询角色分配了的菜单
     * @param roleId
     * @return
     */
    Map<String, Object> findSysRoleMenuByRoleId(Long roleId);

    /**
     * 保存角色菜单关联
     * @param assignMenuDto
     */
    void doAssign(AssginMenuDto assignMenuDto);
}
